package com.zte.purchase.model;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.text.DateFormat;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PurchaseCondition {

    private String uid;
    private String purchaseId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date prePurchaseTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date afterPurchaseTime;
    private String preTotalMoney;
    private String afterTotalMoney;
    private String checkStatus;
//    private String cgState;

}
 